package com.gooluke.mall.goods.service.impl;

import com.gooluke.mall.api.po.goods.TGoodsInfo;
import com.gooluke.mall.api.service.goods.GoodsService;
import com.gooluke.mall.goods.integration.mapper.GoodsInfoMapper;
import org.apache.dubbo.config.annotation.DubboService;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * @author gooluke
 */
@DubboService
public class GoodsServiceImpl implements GoodsService {

    @Autowired
    private GoodsInfoMapper goodsInfoMapper;

    @Override
    public int insert(TGoodsInfo goodsInfo) {
        return goodsInfoMapper.insert(goodsInfo);
    }

}
